package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Table;
import java.util.Date;

/**
 * 医院主图对象 data_main_pic
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("医院主图-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "data_main_pic")
public class DataMainPicEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 相关ID
     */
    @ApiModelProperty("相关ID")
    private Long relId;

    /**
     * 图片id
     */
    @ApiModelProperty("图片id")
    private String picId;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;

    /**
     * 发布状态（00未发布01已发布）
     */
    @ApiModelProperty("发布状态（00未发布01已发布）")
    private String publishStatus;

    /**
     * 类型(01医院)
     */
    @ApiModelProperty("类型(01医院)")
    private String flag;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date creTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long creSb;

}
